package service

import "strings"

type TrimSvc interface {
	TrimSpace(s string) string
}

type TrimService struct {
}

func NewTrimService() TrimSvc {
	return &TrimService{}
}

func (*TrimService) TrimSpace(s string) string {
	return strings.Replace(s, " ", "", -1)
}
